<template>
  <div class="app">
    <h3>{{ welcomeStr }}</h3>
    <!-- <Person name="吊毛" :list="personList" /> -->
    <Person name="吊毛" />
  </div>
</template>

<script lang="ts" setup name="App">
import Person from './components/person.vue'
import { reactive } from 'vue'
import { type Persons } from '@/types'

let welcomeStr = 'hello 吊毛'
let personList = reactive<Persons>([
  { id: 'asudfysafd01', name: '张三', age: 98 },
  { id: 'asudfysafd02', name: '李四', age: 90 },
  { id: 'asudfysafd03', name: '王五', age: 92 }
])

</script>

<style scoped></style>